#include <stdio.h>

struct Book{

	int id;
	char *name;
	float price;
}; //分号别忘了写

int main(void)
{

	struct Book book;
	book.id=111;
	book.name="xiaoshuo";
	book.price=11.22;
	struct Book *p=&book;
	printf("%d\n",(*p).id);
	printf("%s\n",(*p).name);
	printf("%f\n",(*p).price);


	return 0;
}
